package cn.labbook.bluetooth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lonzy
 * @since 2019-08-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Constant implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "k", type = IdType.INPUT)
    private String k;

    private Double v;


    public interface Key {

        /**
         * 最低保电价格
         */
        String PROTECT_PRICE = "protectPrice";
        /**
         * 定时转账开关
         */
        String TIMING_TRANSFER_SWITCH = "timing_transfer_switch";

        /**
         * 及时转账开关
         */
        String IN_TIMING_TRANSFER_SWITCH = "in_timing_transfer_switch";

    }


}
